package com.example.feginClient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author: 扎马斯
 * @date: 2024年08月30日 21:11
 * @describe:
 */
@FeignClient(name = "test-app-01", url = "http://localhost:8088")
public interface ZamasuClient {

    @GetMapping("/user/get")
    List<UserVO> getUser(@RequestParam("id") int id);
}
